package cn.kzgg.pet.mapper;

import cn.kzgg.pet.domain.OrderPetAcquisition;
import cn.kzgg.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author KZGG
 * @since 2022-06-29
 */
public interface OrderPetAcquisitionMapper extends BaseMapper<OrderPetAcquisition> {

    /**
     * 判断是否被人接单了，根据msgId和没有被取消的状态
     * @param msgId
     * @return
     */
    OrderPetAcquisition loadByMsgIdAndNoCancel(Long msgId);
}
